package com.zsn.demo.test;

/**
 * @author zsn
 * @CreateTime: 2022/11/11 0:37
 * @Description:
 */
public class testThread {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.run();
        Thread thread = new Thread(myThread);
        thread.start();
//        thread.run();
//        Runnable runnable = () ->{
//            System.out.println("1111");
//        };
//        Thread thread1 = new Thread(runnable);
//        thread1.start();
    }
}

